//
//  UIView+LBDashLine.h
//  LBCategory
//
//  Created by LINAICAI on 2018/1/15.
//  画虚线

#import <UIKit/UIKit.h>

@interface UIView (LBDashLine)

/**
 画虚线

 @param color 虚线颜色
 @param leftMargin 左边距
 @param rightMargin 右边距
 */
- (void)addDashLineWithColor:(UIColor *)color
                  leftMargin:(CGFloat)leftMargin
                 rightMargin:(CGFloat)rightMargin;

/**
 画虚线

 @param color 虚线颜色
 @param leftMargin 左边距
 @param rightMargin 右边距
 @param lineWith 线宽
 @param lineSpace 线间隔
 */
- (void)addDashLineWithColor:(UIColor *)color
                  leftMargin:(CGFloat)leftMargin
                 rightMargin:(CGFloat)rightMargin
                    lineWith:(CGFloat)lineWith
                   lineSpace:(CGFloat)lineSpace;
@end
